package monpkg.rmi;

import java.rmi.RemoteException;

import monpkg.entities.Student;

import org.junit.Before;
import org.junit.Test;

@SuppressWarnings("unused")
public class TestClientRMI {
	ClientRMI c;
	
	@Test
	public void init() throws Exception{
		ClientRMI c = new ClientRMI();
		c.init();
	}
	
	@Test
	public void getStudent() throws Exception{
		c = new ClientRMI();
		c.init();
		String s = c.newStudent();
		//Student s = c.getStudent((long)3);
		//System.out.println("etudiant client RMI: " + s.getFirstName());
	}

	
}
